change x by ()
change x by (10)
CategoryMotion
TypeCommand

This block is used to move a Sprite on the x-axis left or right.

Usage

This block can only be used on Sprites. Attempting to use this block on the Stage will result in an error.

On Stage

To use this block on the Stage, you must use a tell block. tell [Sprite V] to ({change x by (10)} @addInput) @addInput


On a Sprite

To use this block on a Sprite, drag it into the development area. Inputting a positive number will make the Sprite move to the right. A negative number will do the inverse and make the Sprite move left.